package org.cyb.demo.dao;

import org.apache.ibatis.annotations.Param;
import org.cyb.demo.domain.Acadamy;

import java.util.List;

public interface AcadamyMapper {
    int insert(
            @Param("acadamy")Acadamy acadamy
    );

    void delete(
            @Param("acadamy")Acadamy acadamy
    );

    void update(
            @Param("acadamy")Acadamy acadamy
    );

    List<Acadamy> selectByName(
            @Param("acadamy")Acadamy acadamy
    );

    List<Acadamy> selectAll();
}
